public class PrintThread implements Runnable {
    private String id;
    private int count;

    public PrintThread(String id, int count) {
        this.id = id;
        this.count = count;
    }

    public void run() {
        for (int i = 0; i < count; i++) {
            System.out.print(id);
        }
    }
}
